/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wisnu.scs.dao;

import com.wisnu.scs.entity.DbBarang;
import com.wisnu.scs.entity.DbBarangRekap;
import com.wisnu.scs.error.ErrorMessage;
import java.util.Date;
import java.util.List;

/**
 *
 * @author Wisnu Wardoyo
 */
public interface DbBarangRekapDao {

    List<DbBarangRekap> selectAll(List<DbBarang> barang) throws ErrorMessage;

    List<DbBarangRekap> selectByDate(List<DbBarang> listBarang, Date date) throws ErrorMessage;
    
    List<DbBarangRekap> selectByDate(Date date) throws ErrorMessage;

    List<DbBarangRekap> selectByDateRange(List<DbBarang> listBarang, List<Date> listDate) throws ErrorMessage;
    
    List<DbBarangRekap> selectByDateRange(List<Date> listDate) throws ErrorMessage;
}
